Skip to content

mise: drop windows_default_inline_shell_args from repo config - #10056

Closed
calebdw wants to merge 1 commit into
mainfrom
calebdw/push-mxmlrzzmkxtk
Closed

mise: drop windows_default_inline_shell_args from repo config#10056
calebdw wants to merge 1 commit into
mainfrom
calebdw/push-mxmlrzzmkxtk

Conversation

@calebdw

@calebdw calebdw commented Aug 25, 2026

Copy link
Copy Markdown
Member

mise marks shell-argument settings as global-only and strips them from any non-global config at parse time, since they are a code execution vector. This happens on every platform, so the setting never took effect for Windows contributors either; all it did was print a warning on every mise invocation in the repo:

mise WARN  windows_default_inline_shell_args in non-global config
/path/to/jj/.config/mise.toml is ignored for security reasons

mise has no per-task or per-config way to select a shell only on Windows (shell applies to all platforms), so document the global setting in the contributing guide instead. That is the only place mise will honor it.

`mise` marks shell-argument settings as global-only and strips them from
any non-global config at parse time, since they are a code execution
vector. This happens on every platform, so the setting never took
effect for Windows contributors either; all it did was print a warning
on every `mise` invocation in the repo:

    mise WARN  windows_default_inline_shell_args in non-global config
    /path/to/jj/.config/mise.toml is ignored for security reasons

`mise` has no per-task or per-config way to select a shell only on
Windows (`shell` applies to all platforms), so document the global
setting in the contributing guide instead. That is the only place
`mise` will honor it.
@calebdw
calebdw requested a review from a team as a code owner August 25, 2026 14:57
@PhilipMetzger

Copy link
Copy Markdown
Contributor

this is a dup of #10047

@calebdw calebdw closed this Aug 25, 2026
@calebdw
calebdw deleted the calebdw/push-mxmlrzzmkxtk branch August 25, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants